home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Development & Debugging Tools / RenameGXHeaders tool / RenameGXHeaders README next >
Encoding:
Text File  |  1995-06-05  |  1.3 KB  |  39 lines  |  [TEXT/MPS ]

  1.  
  2. RenameGXHeaders -     an MPW tool for replacing old Quickdraw GX headers 
  3.                     with new GX headers in source and include files.
  4.                     
  5. Included on ETO 17 in the Prerelease MPW folder are a new set of headers 
  6. for Quickdraw GX.  There are now a smaller number of headers and spaces
  7. have been eliminated from all the header names to make it easier to use
  8. these headers with MPW.
  9.  
  10. Developers shouldn't need to change their sources immediately, since there
  11. are a set of headers with the old filenames that include the new headers.
  12. This tool will help whenever a developer decides to make the transition to
  13. the new headers.  The source code and a makefile are included to allow
  14. those not using MPW to create their own tool in whatever environment they
  15. choose.
  16.  
  17. The benefit of using this tool rather than a search and replace procedure
  18. in MPW is that this tool will omit multiple inclusions of the same 
  19. header file, which can happen when several old-style GX headers map
  20. to a single new-style header.
  21.  
  22. To see a usage statement, use:
  23.  
  24.     RenameGXHeaders -h
  25.     
  26. You can pipe in the output of another program or you can simply overwrite
  27. the original C file if you're in a daring mood:
  28.  
  29.     RenameGXHeaders <MyProgram.c >MyNewProgram.c
  30.     
  31.     - or -
  32.     
  33.     RenameGXHeaders -w MyProgram.c
  34.     
  35. Questions, problems or concerns about this tool can be sent to:
  36.  
  37.     jdaggett@apple.com
  38.     
  39.